using System;
using Avalonia.Animation;
using Avalonia.Controls;

namespace AnimationPage.Pages;

public class BasePage : UserControl
{
    public BasePage()
    {
        var transitioningContentControl = new TransitioningContentControl
        {
            PageTransition = new PageSlide
            {
                Orientation= PageSlide.SlideAxis.Horizontal,
                Duration = TimeSpan.Parse("0:00:0:0.3")
            },
            
            Content = this,
        };
    }
}